<!doctype html>

<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">

    <!--                                           -->
    <!-- A little bit of style.   			  	   -->
    <!--                                           -->
    <link type="text/css" rel="stylesheet" href="Codemirror2gwt_sample.css">

    <title>CodeMirror2GWT Sample Project</title>
    
    <!--                                           -->
    <!-- Code Mirror 2 dependencies.   			   -->
    <!--                                           -->
    <link rel="stylesheet" href="codemirror-2.34/lib/codemirror.css">
	<script src="codemirror-2.34/lib/codemirror.js"></script>
	
	<!-- clike mode dependency                              -->
	<script src="codemirror-2.34/mode/clike/clike.js"></script>
    
    <script type="text/javascript" language="javascript" src="codemirror2gwt_sample/codemirror2gwt_sample.nocache.js"></script>
  </head>

  <body>
    <h1>CodeMirror: C-like mode</h1>
       
    <!-- RECOMMENDED if your web app will not function without JavaScript enabled -->
    <noscript>
      <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif">
        Your web browser must have JavaScript enabled
        in order for this application to display correctly.
      </div>
    </noscript>
    
    <div id="gwt-content"></div>
    
     <p>Simple mode that tries to handle C-like languages as well as it
    can. Takes two configuration parameters: <code>keywords</code>, an
    object whose property names are the keywords in the language,
    and <code>useCPP</code>, which determines whether C preprocessor
    directives are recognized.</p>

    <p><strong>MIME types defined:</strong> <code>text/x-csrc</code>
    (C code), <code>text/x-c++src</code> (C++
    code), <code>text/x-java</code> (Java
    code), <code>text/x-csharp</code> (C#).</p>

  </body>
</html>
